
#pragma once
#include "BaseMat.h"
#define 	TempMatDafultName      "diffuse" 
class TempMat :  public BaseMat
{
public:
	TempMat(const Ogre::String & tempmatName,const Ogre::String & matName,matUiEditor * pMat);
	~TempMat(void);

public:
  virtual  void init(const Ogre::String & matName);
  virtual  void loadMaxXml(Ogre::String &strloadMaxXml, Ogre::String &strMatBuffer);


	//virtual const Ogre::String getName();
	//static CBaseMatFactory *  getFactory();

protected:
	// int m_Matid;
};

// class   CTempMatFactory : public CBaseMatFactory
// {
// public:
// 	virtual BaseMat *CreateObject(Ogre::NameValuePairList &params,matUiEditor * pMat);
// };
